#pragma once
#include "ApiHandler.hpp"
#include "AuthHandler.hpp"


class OrderHandler : public ApiHandler
{
private:
	std::string generateSessionId();
public:
	// 基类  构造函数初始化基类ApiHandler
	explicit OrderHandler(DatabasePool& pool);
	void createOrder(const Request& req, Response& res);
	void getOrderHistory(const Request& req, Response& res);
};

